package com.thinvent.remotepassword.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

import java.io.Serializable;

/**
 * (Ippassword)表实体类
 *
 * @author makejava
 * @since 2024-07-04 17:22:29
 */
@SuppressWarnings("serial")
@Data
public class Ippassword extends Model<Ippassword> {
    
    private String id;
    //主机
    private String hostaddress;
    //远程主机
    private String remoteaddress;
    
    private Integer status;
    //密码
    private String hostpwd;
    //绑定地址
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String bindaddress;
    //绑定时间
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Date bindTime;

    /**
     * 获取主键值
     *
     * @return 主键值
     */
    @Override
    protected Serializable pkVal() {
        return this.id;
    }
    }

